<?php

// +----------------------------------------------------------------
// | layui 相关方法封装
// +----------------------------------------------------------------
// | Author: liang <23426945@qq.com>
// +----------------------------------------------------------------

declare(strict_types=1);

namespace app\admin\lib;

class Layui
{
    /**
     * 数据表格
     */
    public static function table($msg, $count, $data, $code = 0)
    {
        return json(compact('code', 'msg', 'count', 'data'));
    }
}
